package model.Service;

import java.util.List;

import model.DAO.InstructorDAO;
import model.Entity.SIS.Instructor;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("InstrcutorService")
public class InstrcutorService {
	
	@Autowired
	InstructorDAO instructorDAO;
	
	public List<Instructor> getFacultyInstructors(){
		return instructorDAO.findFacultyInstructors();
	}
	
	public List<Instructor> findFacultyInstructorByFaculty(Integer facultyNo){
		return instructorDAO.findFacultyInstructorByFaculty(facultyNo);
	}

}
